diff options
Diffstat (limited to 'src/app/groups/[groupId]/balances-list.tsx')
| -rw-r--r-- | src/app/groups/[groupId]/balances-list.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app/groups/[groupId]/balances-list.tsx b/src/app/groups/[groupId]/balances-list.tsx index c0d48b9..26092ec 100644 --- a/src/app/groups/[groupId]/balances-list.tsx +++ b/src/app/groups/[groupId]/balances-list.tsx @@ -20,13 +20,13 @@ export function BalancesList({ balances, participants, currency }: Props) { key={participant.id} className={cn( 'flex', - balances[participant.id]?.total > 0 || 'flex-row-reverse', + balances[participant.id]?.total >= 0 || 'flex-row-reverse', )} > <div className={cn( 'w-1/2 p-2', - balances[participant.id]?.total > 0 && 'text-right', + balances[participant.id]?.total >= 0 && 'text-right', )} > {participant.name} @@ -34,7 +34,7 @@ export function BalancesList({ balances, participants, currency }: Props) { <div className={cn( 'w-1/2 relative', - balances[participant.id]?.total > 0 || 'text-right', + balances[participant.id]?.total >= 0 || 'text-right', )} > <div className="absolute inset-0 p-2 z-20"> |
